package com.googlecode.lookie.explorer.internal;

import java.io.File;

import javax.swing.tree.TreeNode;

import com.googlecode.lookie.swing.tree.model.DeferredTreeNode;
import com.googlecode.lookie.swing.tree.support.file.FileTreeNode;

public class FileSystemTreeNode
    extends DeferredTreeNode
    implements FileTreeNode
{

    private File file;

    public FileSystemTreeNode()
    {
        super();
    }

    public FileSystemTreeNode( File file )
    {
        super();
        this.file = file;
    }

    public FileSystemTreeNode( File file, TreeNode parent )
    {
        super( parent );
        this.file = file;
    }

    public File getFile()
    {
        return file;
    }

}
